package com.book_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiangqian
 * @date 2022/12/2 16:55
 * @description:
 */

@TableName("sys_role_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色权限表")
public class SysRolePermission {

    @ApiModelProperty("角色Id 1管理员 2普通人员")
    private Integer roleId;

    @ApiModelProperty("资源Id")
    private Integer permissionId;
}
